﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E19 RID: 3609
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReportPlayerScRsp : IMessage<ReportPlayerScRsp>, IMessage, IEquatable<ReportPlayerScRsp>, IDeepCloneable<ReportPlayerScRsp>, IBufferMessage
	{
		// Token: 0x17002DE4 RID: 11748
		// (get) Token: 0x0600A218 RID: 41496 RVA: 0x001B1DF0 File Offset: 0x001AFFF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReportPlayerScRsp> Parser
		{
			get
			{
				return ReportPlayerScRsp._parser;
			}
		}

		// Token: 0x17002DE5 RID: 11749
		// (get) Token: 0x0600A219 RID: 41497 RVA: 0x001B1DF7 File Offset: 0x001AFFF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReportPlayerScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DE6 RID: 11750
		// (get) Token: 0x0600A21A RID: 41498 RVA: 0x001B1E09 File Offset: 0x001B0009
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReportPlayerScRsp.Descriptor;
			}
		}

		// Token: 0x0600A21B RID: 41499 RVA: 0x001B1E10 File Offset: 0x001B0010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReportPlayerScRsp()
		{
		}

		// Token: 0x0600A21C RID: 41500 RVA: 0x001B1E18 File Offset: 0x001B0018
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReportPlayerScRsp(ReportPlayerScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A21D RID: 41501 RVA: 0x001B1E3D File Offset: 0x001B003D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReportPlayerScRsp Clone()
		{
			return new ReportPlayerScRsp(this);
		}

		// Token: 0x17002DE7 RID: 11751
		// (get) Token: 0x0600A21E RID: 41502 RVA: 0x001B1E45 File Offset: 0x001B0045
		// (set) Token: 0x0600A21F RID: 41503 RVA: 0x001B1E4D File Offset: 0x001B004D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600A220 RID: 41504 RVA: 0x001B1E56 File Offset: 0x001B0056
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReportPlayerScRsp);
		}

		// Token: 0x0600A221 RID: 41505 RVA: 0x001B1E64 File Offset: 0x001B0064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReportPlayerScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A222 RID: 41506 RVA: 0x001B1E94 File Offset: 0x001B0094
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A223 RID: 41507 RVA: 0x001B1ED3 File Offset: 0x001B00D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A224 RID: 41508 RVA: 0x001B1EDB File Offset: 0x001B00DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A225 RID: 41509 RVA: 0x001B1EE4 File Offset: 0x001B00E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A226 RID: 41510 RVA: 0x001B1F18 File Offset: 0x001B0118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A227 RID: 41511 RVA: 0x001B1F56 File Offset: 0x001B0156
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReportPlayerScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A228 RID: 41512 RVA: 0x001B1F87 File Offset: 0x001B0187
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A229 RID: 41513 RVA: 0x001B1F90 File Offset: 0x001B0190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003EA6 RID: 16038
		private static readonly MessageParser<ReportPlayerScRsp> _parser = new MessageParser<ReportPlayerScRsp>(() => new ReportPlayerScRsp());

		// Token: 0x04003EA7 RID: 16039
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003EA8 RID: 16040
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04003EA9 RID: 16041
		private uint retcode_;
	}
}
